<?php
set_include_path('../../offline');
require_once('functions.php');
spl_autoload_register('generic_autoload');
	
$pdo = new myPdo('mysql:host=localhost;dbname=associations', 'root');
Config::set_slot('root', 'http://localhost:8080/');
$result = array();
try 
{
	$evenementmap = new Model_MapperEvenement("evenement", $pdo);
	$categoriemap = new Model_MapperCategorie("categorie", $pdo);
	//foreach($evenementmap->)
} 
catch (Exception $e)
{
	$result['success'] = false;
	$result['error'] = $e->getMessage();
}
?>